package cn.smdq.ch.upms.admin.base.mapper;

import cn.smdq.ch.common.vo.UserVO;
import cn.smdq.ch.upms.admin.base.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author shuimo@danqing
 * @since 2019-01-18
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 通过用户名查询用户信息(含有角色信息)
     * @param username 用户名
     * @return uservo
     */
    UserVO selectUserByUserName(String username);
}
